/* 
 * --------------------------------------------------------------
 * This is the android touch handler interface that extends touch 
 * events listener.  
 * 2011, by Wu Mu Xian
 * --------------------------------------------------------------
*/

package mygame.myandroidgameframework;

import java.util.List;

import android.view.View.OnTouchListener;

import mygame.basicgameframework.Input.TouchEvent;


public interface MyAndroidTouchHandler extends OnTouchListener {
	
	// check if the screen is touched
	public boolean isTouchDown(int pointer); 
    
	// get the x coordinate of the touched point
    public int getTouchX(int pointer); 
     
    // get the y coordinate of the touched point
    public int getTouchY(int pointer); 
     
    // get the touch events
    public List<TouchEvent> getTouchEvents();
}
